
<script type="text/javascript" src="file://<%= Redcar::HtmlView.jquery_path %>"></script>
<% redcar_css = File.expand_path(File.join(Redcar.root, %w(plugins html_view views default.css))) %>
<% watermark  = File.expand_path(File.join(Redcar.root, %w(plugins html_view views watermark-48.png))) %>
<link rel="stylesheet" href="file://<%= redcar_css %>" type="text/css" media="screen">
<div id="top">
  <img src="file://<%=watermark%>" id="watermark"/>
  <h1>Clipboard History</h1>
</div>
<div class="main" id="copies">
  <table>
    <thead><th>Recently Copied Text</th></thead>
    <tbody>
      <% @list.each_with_index do |item, i|%>
        <tr><td class="copied-item" id="item_<%=i%>"><pre><%= item.join("").gsub("<", "&lt;").gsub(">", "&gt;") %></pre></td></td>
      <% end %>
    </tbody>
  </table>
</div>